import request from '@/utils/request'
export function fileUploadPageApi (params) {
  return request({
    url: '/api/fileDisc/page',
    method: 'POST',
    headers: {
      'Content-Type': 'application/json'
    },
    data: params
  })
}
export function fileUpdate (params) {
  return request({
    url: '/api/fileDisc/edit',
    method: 'POST',
    headers: {
      'Content-Type': 'application/json'
    },
    data: params
  })
}
export function fileAdd (params) {
  return request({
    url: '/api/fileDisc/add',
    method: 'POST',
    headers: {
      'Content-Type': 'application/json'
    },
    data: params
  })
}